/**
 * 
 */
package com.kth.subtranslator.ui;

import javax.swing.BoxLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;
import javax.swing.border.BevelBorder;

/**
 * @author Kevin Thackray
 *
 */
public class StatusPanel extends JPanel {

	private JLabel statusLabel;

	/**
	 * 
	 */
	public StatusPanel() {
		setBorder(new BevelBorder(BevelBorder.LOWERED));
		setLayout(new BoxLayout(this, BoxLayout.X_AXIS));
		statusLabel = new JLabel("status");
		statusLabel.setHorizontalAlignment(SwingConstants.LEFT);
		add(statusLabel);
	}
	
	public void setText(final String text) {
		this.statusLabel.setText(text);
	}
	
}
